#ifndef CHAT_H
#define CHAT_H

#include "tcpclient.h"
#include <QWidget>
namespace Ui {
class Chat;
}

class Chat : public QWidget {
    Q_OBJECT

public:
    explicit Chat(SelfInfo info, TcpClient *tcp, QWidget *parent = nullptr);
    ~Chat();

private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

private:
    Ui::Chat *ui;
    TcpClient *t;
    SelfInfo info;
};

#endif // CHAT_H
